package com.tianji.learning.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.tianji.common.domain.dto.PageDTO;
import com.tianji.learning.domain.dto.QuestionFormDTO;
import com.tianji.learning.domain.po.InteractionQuestion;
import com.tianji.learning.domain.query.QuestionPageQuery;
import com.tianji.learning.domain.vo.QuestionVO;
import com.tianji.learning.enums.QuestionStatus;

public interface IInteractionQuestionService extends IService<InteractionQuestion> {

    // 发布问题
    void saveQuestion(QuestionFormDTO questionFormDTO);

    //用户端-分页查询问题
    PageDTO<QuestionVO> userQuestionPage(QuestionPageQuery query);

    //根据id查询问题详情
    QuestionVO findQuestionById(Long id);
}
